<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: OWIRE_Private_Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">OWIRE_Private_Functions<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___o_w_i_r_e.html">OWIRE</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga21d52a1132068abbcb25c3b90b844ceb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga21d52a1132068abbcb25c3b90b844ceb">OWIRE_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga21d52a1132068abbcb25c3b90b844ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the OWIRE peripheral registers to their default reset values.  <a href="#ga21d52a1132068abbcb25c3b90b844ceb">More...</a><br /></td></tr>
<tr class="separator:ga21d52a1132068abbcb25c3b90b844ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3fd416f60332087ec77041cb0c1421c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga3fd416f60332087ec77041cb0c1421c1">OWIRE_Init</a> (<a class="el" href="struct_o_w_i_r_e___init_type_def.html">OWIRE_InitTypeDef</a> *OWIRE_InitStruct)</td></tr>
<tr class="memdesc:ga3fd416f60332087ec77041cb0c1421c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the OWIRE mode according to the specified parameters in the <a class="el" href="struct_o_w_i_r_e___init_type_def.html" title="OWIRE Init Structure definition.">OWIRE_InitTypeDef</a> and create the associated handler.  <a href="#ga3fd416f60332087ec77041cb0c1421c1">More...</a><br /></td></tr>
<tr class="separator:ga3fd416f60332087ec77041cb0c1421c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga6e06aec6ed9d0c97bdf26a610742cdeb">OWIRE_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified OWIRE peripheral.  <a href="#ga6e06aec6ed9d0c97bdf26a610742cdeb">More...</a><br /></td></tr>
<tr class="separator:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga8f559b3b45a9d4d516cbfcc10dc740f3">OWIRE_ITConfig</a> (uint32_t OWIRE_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified OWIRE interrupts.  <a href="#ga8f559b3b45a9d4d516cbfcc10dc740f3">More...</a><br /></td></tr>
<tr class="separator:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf90365556be448f77ef11d1db54bab74"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#gaf90365556be448f77ef11d1db54bab74">OWIRE_ReadData</a> (void)</td></tr>
<tr class="memdesc:gaf90365556be448f77ef11d1db54bab74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read one data from DATA register.  <a href="#gaf90365556be448f77ef11d1db54bab74">More...</a><br /></td></tr>
<tr class="separator:gaf90365556be448f77ef11d1db54bab74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35512a96e0814160f697ec38c95cba71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga35512a96e0814160f697ec38c95cba71">OWIRE_WriteData</a> (uint8_t Data)</td></tr>
<tr class="memdesc:ga35512a96e0814160f697ec38c95cba71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write one data to DATA register.  <a href="#ga35512a96e0814160f697ec38c95cba71">More...</a><br /></td></tr>
<tr class="separator:ga35512a96e0814160f697ec38c95cba71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga57f79f1ad56fe530954ab1d3dd773836"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga57f79f1ad56fe530954ab1d3dd773836">OWIRE_WriteCommand</a> (uint8_t Command)</td></tr>
<tr class="memdesc:ga57f79f1ad56fe530954ab1d3dd773836"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write command to CMD register.  <a href="#ga57f79f1ad56fe530954ab1d3dd773836">More...</a><br /></td></tr>
<tr class="separator:ga57f79f1ad56fe530954ab1d3dd773836"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga78e92ddf9bdf47bc2b54f6d660bf6ae5">OWIRE_GetFlagStatus</a> (uint32_t OWIRE_FLAG)</td></tr>
<tr class="memdesc:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified the OWIRE flag is set or not.  <a href="#ga78e92ddf9bdf47bc2b54f6d660bf6ae5">More...</a><br /></td></tr>
<tr class="separator:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74360504290350f54153208de5a40a95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga74360504290350f54153208de5a40a95">OWIRE_ClearFlag</a> (uint32_t OWIRE_FLAG)</td></tr>
<tr class="memdesc:ga74360504290350f54153208de5a40a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the OWIRE's pending flags.  <a href="#ga74360504290350f54153208de5a40a95">More...</a><br /></td></tr>
<tr class="separator:ga74360504290350f54153208de5a40a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39d8b5b853c77c64f899727353b07f61"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga39d8b5b853c77c64f899727353b07f61">OWIRE_GetITStatus</a> (uint32_t OWIRE_IT)</td></tr>
<tr class="memdesc:ga39d8b5b853c77c64f899727353b07f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the OWIRE interrupt has occurred or not.  <a href="#ga39d8b5b853c77c64f899727353b07f61">More...</a><br /></td></tr>
<tr class="separator:ga39d8b5b853c77c64f899727353b07f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee28e19a39f4a1a300f43eeeada09694"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#gaee28e19a39f4a1a300f43eeeada09694">OWIRE_ClearITPendingBit</a> (uint32_t OWIRE_IT)</td></tr>
<tr class="memdesc:gaee28e19a39f4a1a300f43eeeada09694"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the OWIRE's interrupt pending bits.  <a href="#gaee28e19a39f4a1a300f43eeeada09694">More...</a><br /></td></tr>
<tr class="separator:gaee28e19a39f4a1a300f43eeeada09694"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga74360504290350f54153208de5a40a95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74360504290350f54153208de5a40a95">&#9670;&nbsp;</a></span>OWIRE_ClearFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_ClearFlag </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>OWIRE_FLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the OWIRE's pending flags. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_FLAG</td><td>specifies the flag bit to clear. This parameter can be any combination of the following values: <ul>
<li>OWIRE_FLAG_ACKERROR: Slave answer error flag. </li>
<li>OWIRE_FLAG_INITDONE: Initialization completion flag. </li>
<li>OWIRE_FLAG_TXDONE: Send complete flag. </li>
<li>OWIRE_FLAG_RXDONE: Receiving complete flag. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaee28e19a39f4a1a300f43eeeada09694"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee28e19a39f4a1a300f43eeeada09694">&#9670;&nbsp;</a></span>OWIRE_ClearITPendingBit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_ClearITPendingBit </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>OWIRE_IT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the OWIRE's interrupt pending bits. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_IT</td><td>Specifies the OWIRE's interrupt to clear. This parameter can be one of the following values: <ul>
<li>OWIRE_IT_ACKERROR: Slave answer error interrupt flag. </li>
<li>OWIRE_IT_INITDONE: Initialization completion interrupt flag. </li>
<li>OWIRE_IT_TXDONE: Send complete interrupt flag. </li>
<li>OWIRE_IT_RXDONE: Receiving complete interrupt flag. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6e06aec6ed9d0c97bdf26a610742cdeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e06aec6ed9d0c97bdf26a610742cdeb">&#9670;&nbsp;</a></span>OWIRE_Cmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_Cmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the specified OWIRE peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>new state of the OWIRE peripheral. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga21d52a1132068abbcb25c3b90b844ceb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21d52a1132068abbcb25c3b90b844ceb">&#9670;&nbsp;</a></span>OWIRE_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_DeInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitializes the OWIRE peripheral registers to their default reset values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga78e92ddf9bdf47bc2b54f6d660bf6ae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga78e92ddf9bdf47bc2b54f6d660bf6ae5">&#9670;&nbsp;</a></span>OWIRE_GetFlagStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlagStatus OWIRE_GetFlagStatus </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>OWIRE_FLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the specified the OWIRE flag is set or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_FLAG</td><td>Specifies the OWIRE flag to check. This parameter can be one of the following values: <ul>
<li>OWIRE_FLAG_ACKERROR: Slave answer error flag. </li>
<li>OWIRE_FLAG_INITDONE: Initialization completion flag. </li>
<li>OWIRE_FLAG_TXDONE: Send complete flag. </li>
<li>OWIRE_FLAG_RXDONE: Receiving complete flag. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of OWIRE_FLAG (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga39d8b5b853c77c64f899727353b07f61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga39d8b5b853c77c64f899727353b07f61">&#9670;&nbsp;</a></span>OWIRE_GetITStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ITStatus OWIRE_GetITStatus </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>OWIRE_IT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the OWIRE interrupt has occurred or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_IT</td><td>specifies the OWIRE interrupt source to check. This parameter can be one of the following values: <ul>
<li>OWIRE_IT_ACKERROR: Slave answer error interrupt flag. </li>
<li>OWIRE_IT_INITDONE: Initialization completion interrupt flag. </li>
<li>OWIRE_IT_TXDONE: Send complete interrupt flag. </li>
<li>OWIRE_IT_RXDONE: Receiving complete interrupt flag. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of the OWIRE_IT(SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3fd416f60332087ec77041cb0c1421c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3fd416f60332087ec77041cb0c1421c1">&#9670;&nbsp;</a></span>OWIRE_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_o_w_i_r_e___init_type_def.html">OWIRE_InitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>OWIRE_InitStruct</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the OWIRE mode according to the specified parameters in the <a class="el" href="struct_o_w_i_r_e___init_type_def.html" title="OWIRE Init Structure definition.">OWIRE_InitTypeDef</a> and create the associated handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_InitStruct</td><td>pointer to a <a class="el" href="struct_o_w_i_r_e___init_type_def.html" title="OWIRE Init Structure definition.">OWIRE_InitTypeDef</a> structure that contains the configuration information for the specified OWIRE peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8f559b3b45a9d4d516cbfcc10dc740f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f559b3b45a9d4d516cbfcc10dc740f3">&#9670;&nbsp;</a></span>OWIRE_ITConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_ITConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>OWIRE_IT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the specified OWIRE interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OWIRE_IT</td><td>specifies the OWIRE interrupts sources to be enabled or disabled. This parameter can be any combination of the following values: <ul>
<li>OWIRE_IT_ACKERROR: Slave answer error interrupt flag. </li>
<li>OWIRE_IT_INITDONE: Initialization completion interrupt flag. </li>
<li>OWIRE_IT_TXDONE: Send complete interrupt flag. </li>
<li>OWIRE_IT_RXDONE: Receiving complete interrupt flag. </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>new state of the OWIRE interrupts. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf90365556be448f77ef11d1db54bab74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf90365556be448f77ef11d1db54bab74">&#9670;&nbsp;</a></span>OWIRE_ReadData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t OWIRE_ReadData </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read one data from DATA register. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>read data. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga57f79f1ad56fe530954ab1d3dd773836"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga57f79f1ad56fe530954ab1d3dd773836">&#9670;&nbsp;</a></span>OWIRE_WriteCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_WriteCommand </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>Command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write command to CMD register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Command</td><td>Specifies the command to write. This parameter can be one of the following values: <ul>
<li>OWIRE_COMMAND_INIT </li>
<li>OWIRE_COMMAND_TX </li>
<li>OWIRE_COMMAND_RX </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga35512a96e0814160f697ec38c95cba71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga35512a96e0814160f697ec38c95cba71">&#9670;&nbsp;</a></span>OWIRE_WriteData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OWIRE_WriteData </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>Data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write one data to DATA register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Data</td><td>The data to write. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
